home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
tools
/
filer
/
rexx
/
zoomdecompress.filer
< prev
Wrap
Text File
|
1995-03-09
|
944b
|
48 lines
/*
$VER: ZoomDecompress.filer 2.0 (22.11.93)
Author:
Matthias Scheler (tron@lyssa.pb.owl.de)
Function:
Opens a string requester, asks for a drive and writes a Zoom file to the
specified drive.
Call:
ZoomDecompress FILENAME
Example for "Filer.RC":
REXXCLASS "#?.zom","","ZoomDecompress %s"
*/
PARSE ARG FileName
ADDRESS 'FilerRexx'
OPTIONS RESULTS
'STATUS Decompress Zoom file'
PANEL OFF
DISKDRIVE=GETCLIP('FILER_DRIVE')
IF DISKDRIVE="" THEN DISKDRIVE='DF0:'
SETSTRING DISKDRIVE
GETSTRING 'Enter target drive (e.g. "DF0:"):'
IF RESULT="RESULT" THEN
DO
PANEL ON
'STATUS Decompress Zoom file aborted'
EXIT 5
END
DISKDRIVE=RESULT
SETCLIP('FILER_DRIVE',DISKDRIVE)
'STATUS Decompressing Zoom file "'||FileName||'" to "'||DISKDRIVE||'" ...'
EXEC 'Zoom FROM '||FileName||' TO '||DISKDRIVE||' CLEARBLOCKS VERIFY'
PANEL ON
'HISTORY Decompressed Zoom file "'||FileName||'" to "'||DISKDRIVE||'".'